$(function() {
  console.log(111);
  $.ajax({
    url: 'http://localhost:3000/api/getinlanddiscount',
    success(res) {
      console.log(res);
      $('.pro-list').html(template('tmp', res));
    }
  });
});
